// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import Router from 'vue-router'

const goods = { template: '<p>goods</p>' };
Vue.config.productionTip = false
Vue.use(Router)
const routes = [
  { path: '/goods', component: goods }
];
const router = new Router({
  routes
});
/* eslint-disable no-new */
new Vue({
  el: '#app',
  template: '<App/>',
  components: { App },
  router
})
